Loop
To follow this guide, you'll need to use the loop.asm
file located in the guides/loop/support
directory.
This program illustrates how to use the loop
instruction, as well as how to index an array of dwords
.
Note: The
loop
instruction jumps to the given label when thecount
register is not equal to 0. In the case ofx86
thecount
register isecx
.Note: For a detailed description of the
loop
instruction check out the documentation.